package net.jotpot.http4flash
{
	public class HTTPURLRequest extends Object
	{
		private var _contentType:String;
		private var _data:Object;
		private var _method:String;
		private var _requestHeaders:Array;
		private var _url:String;
		
		
		public function HTTPURLRequest(url:String = null)
		{
			//TODO: implement function
			super();
			this._url = url;
		}
		
		public function get contentType():String{
			return this._contentType;
		}
		
		public function get data():Object{
			return this._data;	
		}
		
		public function get method():String{
			return this._method;
		}
		
		public function get requestHeaders():Array{
			return this._requestHeaders;
		}
		
		public function get url():String{
			return this._url;
		}
		
		public function set contentType(value:String):void{
			
			if (value != null){
				this._contentType = value;
			}
			
		}
		
		public function set data(value:Object):void{
			if (value != null){
				this._data = value;
			}
		}
		
		public function set requestHeaders(value:Array):void{
			if (value != null){
				this._requestHeaders = value;
			}
		}
		
		public function set url(value:String):void{
			if (value != null){
				this._url = value;
			}
		}
	}
}